Q3TranslateTransform_New
You can use theQ3TranslateTransform_New
function to create a new translate transform.
TQ3TransformObject Q3TranslateTransform_New ( const TQ3Vector3D *translate);
translate
- A vector whose three fields specify the desired translation along each coordinate axis.
DESCRIPTION
TheQ3TranslateTransform_New
function returns, as its function result, a reference to a new transform object of typekQ3TransformTypeTranslate
using the data passed in thetranslate
parameter. The transform translates an object by the values intranslate->x
,translate->y
, andtranslate->z
, respectively. The data you pass in thetranslate
parameter is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures,Q3TranslateTransform_New
returns the valueNULL
.